# -*- coding: utf-8 -*-

# @Author : guoxin

# @Time : 2024/6/4 14:38

# @QQ :363673234
class CheckGoodsDetailBase:
    def goods_icon(self):
        return "//img[@class='operate el-dropdown-selfdefine']"
    def goods_rightlist_button(self,goods_list):
        return "//li[contains(text(),'"+goods_list+"')]"
    def goods_deleteVerify_button(self):
        # return "//span[text()='" + button_name + "']"
        # return "/html/body/div[4]/div/div[3]/button[2]"
        # return "//button[@class='el-button el-button--primary el-button--small']"
        return "//p[text()=' 确定删除此货源吗? ']/parent::div/parent::div/following-sibling::div/button[@class='el-button el-button--primary el-button--small']"



